$count: 100;

.App {
  text-align: center;
}

.App-logo {
  animation: App-logo-spin infinite 20s linear;
  height: 40vmin;
  pointer-events: none;
}

.loginPage {
    //background: url("../assets/login-bgc.png") no-repeat;
    //background-size: cover;
  /*background-color: #282c34;*/
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
  overflow: hidden;
}
.loginForm {
  position: absolute;
  top: 400px;
    background-color: #ffffff;
    width: 400px;
    height: 150px;
    padding: 50px;
    border-radius: 20px;
}
.loginBtn {
    width: 100px;
}
.el-notification__title {
    text-align: left;
}
@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


.attention {
  position: absolute;
  z-index: 999;
  top: 30%;
  left: 52%;
  color: #fff;
  font-size: 30px;
  font-weight: light;
  font-family: 'Quicksand', sans-serif;
  letter-spacing: 10px;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation:
          attention 8000ms linear forwards;
}

.container {
  position: relative;
  display: grid;
  grid-template-rows: repeat(10, 10vh);
  grid-template-columns: repeat(20, 5vw);
}

.trigger {
  @for $i from 1 through 10 {
    @for $j from 1 through 20 {
      $key: ($i - 1) * 20 + $j;
      &:nth-child(#{$key}) {
        &:hover ~ .monitor .ball {
          top: ($i - 1) * 10% + 5%;
          left: ($j - 1) * 5% + 2.5%;
        }
      }
    }
  }
}

.monitor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  pointer-events: none;
  filter: blur(25px) contrast(30);
}

.ball {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  // background: #fff;
  border-radius: 100%;
  transform: translate(-50%, -50%);
  transition-timing-function: cubic-bezier(0.330, 1.700, 0.510, 0.820);
  mix-blend-mode: screen;

  border: 10px solid #fff;

  &::before {
    content: '';
    position: absolute;
    background: #fff;
    border-radius: 100%;
  }

  @for $i from 1 through 10 {
    &:nth-child(#{$i}) {
      width: $i * 50 + 20px;
      height: $i * 50 + 20px;
      transition-duration: 300ms + 200ms * $i;
      animation: rotate random(600000) + 600000ms -1200000ms linear infinite;
      // background: rgba(random(255), 255, 255, 1);
      border-color: rgba(random(100) + 200, 255, 255, 1);
      border-top-width: random(6) + 5px;
      border-right-width: random(6) + 5px;
      border-bottom-width: random(6) + 5px;
      border-left-width: random(6) + 5px;

      &::before {
        width: random(20) + 10px;
        height: random(20) + 10px;
        animation: slide random(10000) + 10000ms -20000ms ease-in-out infinite alternate;
      }
    }
  }
}

@keyframes rotate {
  0% {
    transform: translate(-50%, -50%) rotateZ(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotateZ(360deg);
  }
}

@keyframes slide {
  0% {
    transform: translateX(-150px);
  }

  100% {
    transform: translateX(300px);
  }
}

@keyframes attention {
  0% {
    letter-spacing: 10px;
  }

  100% {
    letter-spacing: 40px;
  }
}

@keyframes fade {
  0% {
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}